package com.springcloudconfig;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@EnableCircuitBreaker // 开启熔断器功能
@EnableEurekaClient
@SpringBootApplication
public class SpringCloudConfigClientConsumerTest {
    public static void main(String[] args) {
        SpringApplication.run(SpringCloudConfigClientConsumerTest.class,args);
    }
}
